package com.jd;

/**
 * 交给spring  在配置文件中进行配置
 */
public class User {
    private String name ;

    public void setName(String name) {
        this.name = name;
    }

    //构造函数
    public User(String name)
    {
        this.name = name;

    }
    public User()
    {


    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                '}';
    }
}
